/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.race.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 竞赛答题Entity
 * @author CY
 * @version 2017-05-11
 */
public class RaceScheduleTeamSubject extends DataEntity<RaceScheduleTeamSubject> {
	
	private static final long serialVersionUID = 1L;
	private String scheduleid;		// 赛程id
	private String teamid;		// 团队id
	private String subjectid;		// 题目id
	private String answer;		// 解答提交的答案
	private String answeris;		// 解答情况 0未作答
	private String rightandwrong;		// 答案对错 0还没做 1对 2错
	private  String score;    //分数
	private  String teamLogo; //团队logo
	
	public RaceScheduleTeamSubject() {
		super();
	}

	public RaceScheduleTeamSubject(String id){
		super(id);
	}

	@Length(min=0, max=255, message="赛程id长度必须介于 0 和 255 之间")
	public String getScheduleid() {
		return scheduleid;
	}

	public void setScheduleid(String scheduleid) {
		this.scheduleid = scheduleid;
	}
	
	@Length(min=0, max=225, message="团队id长度必须介于 0 和 225 之间")
	public String getTeamid() {
		return teamid;
	}

	public void setTeamid(String teamid) {
		this.teamid = teamid;
	}
	
	@Length(min=0, max=225, message="题目id长度必须介于 0 和 225 之间")
	public String getSubjectid() {
		return subjectid;
	}

	public void setSubjectid(String subjectid) {
		this.subjectid = subjectid;
	}
	
	@Length(min=0, max=255, message="解答提交的答案长度必须介于 0 和 255 之间")
	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}
	
	@Length(min=0, max=255, message="解答情况 0未作答长度必须介于 0 和 255 之间")
	public String getAnsweris() {
		return answeris;
	}

	public void setAnsweris(String answeris) {
		this.answeris = answeris;
	}
	
	@Length(min=0, max=255, message="答案对错 0还没做 1对 2错长度必须介于 0 和 255 之间")
	public String getRightandwrong() {
		return rightandwrong;
	}

	public void setRightandwrong(String rightandwrong) {
		this.rightandwrong = rightandwrong;
	}


	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}



	public String getTeamLogo() {
		return teamLogo;
	}

	public void setTeamLogo(String teamLogo) {
		this.teamLogo = teamLogo;
	}
	
}